package com.ldw.service;

import com.ldw.vo.ArticleParam;
import com.ldw.vo.PageParams;
import com.ldw.vo.Result;

public interface ArticleService {
    Result listArticle(PageParams params);

    Result hotArticle(int limit);

    Result newArticle(int limit);

    Result listArchives();

    Result articleView(long articleId);

    Result publish(ArticleParam articleParam);
}
